<template>
    <section id="wrapper">
      <h1 class="headline">
        <span class="accent">404</span>
      </h1>
      <p class="description">
        抱歉，访问出错了！
      </p>
      <p>
        <a class="btn" href="/">返回</a>
      </p>
    </section>
  </template>
  
  <script>
  export default {
    mounted() {
      document.title = '404 - 访问出错';
    }
  }
  </script>
  
  <style scoped>  
  
  #wrapper {
    padding: 80px 32px;
    text-align: center;
    height: 100%;
  }  
  .headline {
    font-size: 122px;
    line-height: 1.25;
    font-weight: bold;
    letter-spacing: -1.5px;
    max-width: 960px;
    margin: 0px auto;
  }
  .description {
    max-width: 960px;
    line-height: 1.5;
    transition: color 0.5s;
    font-size: 22px;
    margin: 24px auto 40px;
  }  

  html:not(.dark) .accent,
  .dark .headline {
    background: -webkit-linear-gradient(315deg, #42d392 25%, #647eff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }  

 .btn {   
    display: inline-block;
    border: 0px;
    cursor: pointer; 
    font-weight: 500;
    border-radius: 8px;
    padding: 10px 20px;    
    text-decoration:none;
    margin: auto 6px;
    background: -webkit-linear-gradient(315deg, #42d392 25%, #647eff);
    color: rgb(255, 255, 255);
 }
.btn:hover {
    background: -webkit-linear-gradient(105deg, #42d392 25%, #6b7cd1);
    padding: 11px 21px;

}
</style>    